Skip to main content

revXMLRPC_GetHost

Type

function

Summary

This function returns the target host of an XML-RPC document.

Syntax

revXMLRPC_GetHost(<XMLRPCdocumentID>)

Description

Use the revXMLRPC_GetHost function to retrieve the host that is the target of the execution of an XML-RPC request.

If the revXMLRPC_GetHost function encounters an error, it returns an error message starting with "xmlrpcerr" ..

Parameters

NameTypeDescription

XMLRPCdocumentID

integer

The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request, or the successful revXMLRPC_Execute function when you executed an XML-RPC request.

Examples

local tHost
put revXMLRPC_GetHost(tRequest) into tHost

command: revXMLRPC_SetHost

control structure: function

function: revXMLRPC_CreateRequest, revXMLRPC_Execute

glossary: return, host, XML-RPC, Standalone Application Settings, IP address, standalone application, XML-RPC document, function, domain name, LiveCode custom library

library: XML-RPC library

Compatibility and Support

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?